import { COMPREIFX, INDENTIFICATION } from "../../../libs/const/widget";
export const JSON = {
  isOnly: false,
  isModule: false,
  type: `${COMPREIFX}swiper`,
  sign: INDENTIFICATION.BASIC,
  style: {
    width: "",
    height: "",
    position: "relative",
    left: 0,
    right: 0,
    top: 0,
    bottom: 0,
    borderRadius: "",
    marginTop: "0rpx",
    marginBottom: "0rpx",
    marginLeft: "0rpx",
    marginRight: "0rpx",
    backgroundColor: "rgb(255 255 255)",
  },
  attribute: {
    list: [],
    indicator: true,
    indicatorMode: "line", //line,dot,number
    previousMargin: 0,
    nextMargin: 0,
    interval: 3000,
    indicatorStyle: "bottom: 20rpx", //top,left,bottom,right + 30rpx
  },
  events: {},
  items: [],
};
export const CONFIG = {
  isShow: true,
  sign: INDENTIFICATION.BASIC,
  type: `${COMPREIFX}swiper`,
  name: "轮播图",
  icon: "https://hyyxboss.oss-cn-shenzhen.aliyuncs.com/img/pub/lcdp/swiper.png",
  path: `/components/${COMPREIFX}swiper/index.vue`,
};

export default {
  JSON,
  CONFIG,
};
